package com.ham.facade;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;

import com.ham.dto.ItemDTO;
import com.ham.model.ItemModel;
import com.ham.model.ItemRatingModel;

public interface MainFacade {

	public List<ItemDTO> populateDataForReport(Date ratingDate)
			throws SQLException;

	public List<ItemDTO> populateDataForReportFromFile(Date ratingDate)
			throws SQLException;

	@Deprecated
	public void importItems(List<ItemModel> items, boolean truncateTableFirst)
			throws SQLException;

	public void importItems(List<ItemModel> items) throws SQLException;

	public void importItemRatings(List<ItemRatingModel> itemRatings)
			throws SQLException;
}
